using System;
using System.Data;
using System.ComponentModel;
using System.Reflection;
using System.Collections.Generic;

namespace VSSAHT.Transfer
{
	[Serializable]
	public class ModelVehicleDTOBase : DTOBase
	{
		#region Property ModelVehicleID

		private Guid _modelVehicleID;

		/// <summary>
		///  Property ModelVehicleID
		/// <summary>
		public Guid ModelVehicleID
		{
			get
			{
				return _modelVehicleID;
			}

			set
			{
				if (_modelVehicleID != value)
				{
					this.OnModelVehicleIDChanging(value);
					_modelVehicleID = value;
					this.OnModelVehicleIDChanged();
					OnChanged();
				}
			}
		}

		#endregion

		#region Property ModelVehicleNumber

		private string _modelVehicleNumber;

		/// <summary>
		///  Property ModelVehicleNumber
		/// <summary>
		public string ModelVehicleNumber
		{
			get
			{
				return _modelVehicleNumber;
			}

			set
			{
				if (_modelVehicleNumber != value)
				{
					this.OnModelVehicleNumberChanging(value);
					_modelVehicleNumber = value;
					this.OnModelVehicleNumberChanged();
					OnChanged();
				}
			}
		}

		#endregion

		#region Property ModelVehicleWeight

		private decimal _modelVehicleWeight;

		/// <summary>
		///  Property ModelVehicleWeight
		/// <summary>
		public decimal ModelVehicleWeight
		{
			get
			{
				return _modelVehicleWeight;
			}

			set
			{
				if (_modelVehicleWeight != value)
				{
					this.OnModelVehicleWeightChanging(value);
					_modelVehicleWeight = value;
					this.OnModelVehicleWeightChanged();
					OnChanged();
				}
			}
		}

		#endregion

		#region Property RowVersion

		private string _rowVersion;

		/// <summary>
		///  Property RowVersion
		/// <summary>
		public string RowVersion
		{
			get
			{
				return _rowVersion;
			}

			set
			{
				if (_rowVersion != value)
				{
					this.OnRowVersionChanging(value);
					_rowVersion = value;
					this.OnRowVersionChanged();
					OnChanged();
				}
			}
		}

		#endregion

		#region Extensibility Method Declarations

		protected virtual void OnModelVehicleIDChanging(Guid modelVehicleID) { }
		protected virtual void OnModelVehicleIDChanged() { }
		protected virtual void OnModelVehicleNumberChanging(string modelVehicleNumber) { }
		protected virtual void OnModelVehicleNumberChanged() { }
		protected virtual void OnModelVehicleWeightChanging(decimal modelVehicleWeight) { }
		protected virtual void OnModelVehicleWeightChanged() { }
		protected virtual void OnRowVersionChanging(string rowVersion) { }
		protected virtual void OnRowVersionChanged() { }

		#endregion

	}
}
